<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/5/11
  Time: 10:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="/js/company.js"></script>
</head>
<style>
    .td-content {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 300px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
</style>
<script>

</script>
<body>
<%--加载页面的时候，需要进入后台查询数据，所以我们这里用到Ajax--%>
电话：<input type="text" id="phone" value="" onblur="shiqu(this)">
公司名称：<input type="text" id="name" value="" onblur="shiqu(this)">
网址：<input type="text" id="net" value="" onblur="shiqu(this)">
介绍：<input type="text" id="content" value="" onblur="shiqu(this)">
地址：<input type="text" id="address" value="" onblur="shiqu(this)">
<input type="button" value="查询" onclick="chaxunCompanyBySome()">
<%--<a href="#" onclick="chaxunCompany()">查询</a>--%>
<table class="table table-hover">
    <thead>
    <tr>
        <td>id</td>
        <td width="200px">公司名称</td>
        <td>logo</td>
        <td>手机</td>
        <td>网址</td>
        <td>邮箱</td>
        <td>座机</td>
        <td style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;width: 300px">介绍
        </td>
        <td width="300px">地址</td>
        <td>版本</td>
        <td>操作</td>
    </tr>
    </thead>
    <tbody id="companyTbody">
    </tbody>
</table>
</body>
</html>
